<include file="../Public/header"/>
	<div id="content">


<div class="mainarea">


<div class="maininner">
<div class="bdrcontent">
	当前操作: 批量操作 -> 日志管理
</div>
<br/>
<form method="get" action="__URL__/getblogs">
<div class="block style4">

<table cellspacing="3" cellpadding="3">
<tr><th>作者UID</th><td><input type="text" name="uid" value=""></td>
<th>作者名</th><td><input type="text" name="username" value=""></td>
</tr>
<tr><th>标题*</th><td><input type="text" name="subject" value=""></td>
<th>内容*</th><td><input type="text" name="message" value="">*表示支持模糊查询</td>
</tr>
<tr>
<th>公开性质</th><td>
<select name="friend">
<option value="">不限</option>
<option value="0">公开</option>
<option value="1">只好友访问</option>
<option value="2">加密访问</option>
</select>
</td>
<th>发布IP</th><td colspan="3"><input type="text" name="postip" value=""></td>
</tr>
<tr><th>查看数</th><td colspan="3">
<input type="text" name="viewnum1" value="" size="10"> ~
<input type="text" name="viewnum2" value="" size="10">
</td></tr>
<tr><th>回复数</th><td colspan="3">
<input type="text" name="replynum1" value="" size="10"> ~
<input type="text" name="replynum2" value="" size="10">
</td></tr>
<tr><th>发布时间</th><td colspan="3">
<input type="text" name="dateline1" value="2008-5-7" size="10"> ~
<input type="text" name="dateline2" value="" size="10"> (YYYY-MM-DD)
</td></tr>

<tr><th>结果排序</th>
<td colspan="3">
<select name="orderby">
<option value="">默认排序</option>
<option value="dateline">发布时间</option>
<option value="viewnum">查看数</option>
<option value="replynum">回复数</option>
</select>
<select name="ordersc">
<option value="desc">递减</option>
<option value="asc">递增</option>
</select>
<select name="perpage">
<option value="20" selected>每页显示20个</option>
<option value="50">每页显示50个</option>
<option value="100">每页显示100个</option>
<option value="1000">一次处理1000个</option>
</select>
<input type="hidden" name="ac" value="blog">
<input type="submit" name="searchsubmit" value="搜索" class="submit">
</td>
</tr>
</table>

</div>
</form>

<form method="post" action="__URL__/deleteblog">
<div class="bdrcontent">

<table cellspacing="0" cellpadding="0" class="formtable">
<tr><td width="25">&nbsp;</td><th>标题</th><th width="80">作者</th><th width="80">查看/评论</th><th width="80">时间</th><th width="80">操作</th></tr>
<volist name="list" id="blog">
<tr>
<td>
<input type="checkbox" name="ids[]" value="{$blog.id}">
</td>
<td>
<a href="__ROOT__/index.php/showblog/{$blog.id}" target="_blank">{$blog.title}</a>
</td>
<td><a href="__ROOT__/index.php/home/{$blog.userid}" target="_blank">{$blog.username}</a></td><td align="center">{$blog.hits}/{$blog.revertnum}</td>
<td>{$blog.regtime|toDate}</td>
<td><a href="__URL__/deleteblog/id/{$blog.id}" target="_blank">删除</a>&nbsp;
<a href="__URL__/getrevert/bid/{$blog.id}">相关评论</a>

</td>
</tr>
</volist>
</table>
</div>

<div class="footactions">
<input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选<input type="hidden" name="mpurl" value="admincp.php?ac=blog&&&perpage=20">
<input type="submit" name="deletesubmit" value="批量删除" onclick="return confirm('本操作不可恢复，确认删除？');" class="submit">

</div>
</div>
</div>

<include file="../Public/menu"/>
<include file="../Public/footer"/>